CREATE SEQUENCE dm.sql_lg_messages START 1; CREATE TABLE dm.lg_messages(     record_id      INT  , date_time      TIMESTAMP  , pid        INT    , message      VARCHAR  , message_type    VARCHAR  , usename      VARCHAR  , datname      VARCHAR  , client_addr    INET  , application_name  VARCHAR  , backend_start    TIMESTAMP    , CONSTRAINT lg_messages_pk PRIMARY KEY(record_id)    );